package com.nl.model.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PageVO<T> extends BaseVO {

    /**
     * 总记录数.
     */
    protected Long total;
    
    /**
     * 结果集.
     */
    protected List<T> data;

}
